home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 16 / CU Amiga Magazine's Super CD-ROM 16 (1997-10-16)(EMAP Images)(GB)[!][issue 1997-11].iso / CUCD / WWW / AWeb3 / Docs / _stoptcpscript < prev    next >
Text File  |  1997-06-16  |  685b  |  21 lines

  1. ; Sample script to stop a TCP program that was started using the
  2. ; _starttcpscript script
  3. ;
  4. ; To use this script, configure AWeb to use for its Stop TCP program:
  5. ;    command = (path)/_stoptcpscript
  6. ;  arguments = (none)
  7.  
  8. ; The variable TCPPROCESS contains the CLI process that the TCP stack
  9. ; is running in.
  10.  
  11. Break $TCPPROCESS
  12.  
  13. ; Note:
  14. ; If your TCP stack supports ARexx, you could use it to stop your TCP
  15. ; program directly, instead of using this script.
  16. ; In that case you should configure AWeb to use the following as its
  17. ; Stop TCP program:
  18. ;    command = SYS:RexxC:rx
  19. ;  arguments = "ADDRESS (portname) QUIT"
  20. ; where (portname) is the actual ARexx port name of your TCP program.
  21.